home *** CD-ROM | disk | FTP | other *** search
- MOD -- Auto-Validation Password for newusers from 10@2315
- The Man #10 @2315
- Sun Dec 22 18:19:45 1991
- 7[2Msg Status7] 1Reply Wanted.
- 7~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- ------------------------------------------------------------------------------
- Filename:THEMAN02.MOD
- File affected:NEWUSER.C
- Purpose:Establishes an Auto-validation password for users that you told the
- password to so that they don't need to wait to be validated. This way
- you don't have to use a newuser password.
- -----------------------------------------------------------------------------
- Legend:
- #....Exists
- +....Add line
-
-
- # input_sex();
- # input_age(&thisuser);
- # input_comptype();
- # input_screensize();
- # nl();
- # npr("Random password: %s\r\n",thisuser.pw);
- # nl();
- # prt(5,"Do you want a different password (Y/N)? ");
- # if (yn())
- # input_pw();
- + prt(2,"What is the Auto-Validation Password? ");
- + mpl(20);
- + input(s,20);
- + if (stricmp(s,"RANDOM")==0) { /*Change to your liking*/
- + thisuser.sl=60;
- + thisuser.dsl=60;
- + npr("Thank you, you have been validated.");
- + }
- + else if (stricmp(s,"RANDOM2")==0) { /*Different level of access*/
- + thisuser.sl=120;
- + thisuser.dsl=60;
- + prt(6,"You have been validated with super access, call back after you are hung up");
- + } else {
- + npr("Don't worry about it, The Man will validate you himself");
- + }
- # }
- # if (!hangup)
- # do {
- # nl();
- # nl();
- # npr("1. Name : %s\r\n",thisuser.name);
- # if (syscfg.sysconfig & sysconfig_no_alias)
- # npr("2. City, State : %s\r\n",thisuser.realname);
- ------------------------------------------------------------------------------
- this mod is very flexible as you can also add AR's and DAR's to give to people
- also. Change it to your liking. You can also fix it so that it reads in the
- auto-val password from a file.
-
- If you use this mod. Please E-mail me and tell me how you like it. And also
- tell me how to fix it so that it will read the password from a file. I was
- too lazy to do that myself. I use it so that when I want someone to call and
- I know I won't be around, they can validate themselves. And that way I can
- still have an open board and keep out undesirable users.
-
- 6The Man 2Sysop of 7The Magic Mountains BBS 3IceNET node 36
- 2203-869-0938 for MM BBS Greenwich, CT
- 3also 2The Man 10@2315 4WWIVnet SCI-Fi BB